<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated Nov 3, 2010 4:03:41 PM by Hibernate Tools 3.2.4.GA -->
<hibernate-mapping>
    <class name="acme.serviceproviders.data.FlightBooking" table="flightbookings">
        <id name="bookingId" type="string">
            <column name="booking_id" />
            <generator class="assigned" />
        </id>
        <many-to-one name="Plane" class="acme.serviceproviders.data.Plane" fetch="select">
            <column name="plane_id" not-null="true" />
        </many-to-one>
        <property name="travelDate" type="date">
            <column name="travel_date" length="10" not-null="true" />
        </property>
        <property name="bookingFee" type="float">
            <column name="booking_fee" precision="12" scale="0" not-null="true" />
        </property>
    </class>
</hibernate-mapping>
